Skip to content

Conversation

@datacute
Copy link
Owner

@datacute datacute commented Aug 3, 2025

No description provided.

@datacute datacute requested a review from Copilot August 3, 2025 09:24
Copy link
Contributor

Copilot AI left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull Request Overview

This is a release PR for version 1.1.1 that modernizes the codebase by adopting external utility libraries and improves compatibility with older .NET versions. The update removes internal implementations in favor of standardized libraries and fixes nullable reference type support.

  • Adopts Datacute.IncrementalGeneratorExtensions and Datacute.AdditionalTextConstantGenerator for better code reuse
  • Improves nullable reference type compatibility for older .NET versions
  • Updates versioning system to support multiple build profiles

Reviewed Changes

Copilot reviewed 33 out of 34 changed files in this pull request and generated 2 comments.

Show a summary per file
File Description
version.props Updates version to 1.1.1 and adds dynamic versioning system
EmbeddedResourcePropertyGenerator/*.cs Refactors to use external libraries and improves nullable support
Templates.cs Updates template constants and removes indentation parameters
CodeGenerator.cs Converts to inherit from SourceTextGeneratorBase with cleaner structure
Tests Updates test infrastructure and snapshot verifications
global.json Adds .NET SDK version specification
Project files Removes attributes project and updates package references

/// </remarks>
[System.Diagnostics.Conditional("DATACUTE_EMBEDDEDRESOURCEPROPERTIES_USAGES")]
[AttributeUsage(AttributeTargets.Class, AllowMultiple = true)]
internal sealed class EmbeddedResourcePropertiesAttribute : Attribute
Copy link

Copilot AI Aug 3, 2025

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

The attribute class is marked as 'internal' which may prevent it from being used by consuming projects. Consider making it 'public' to ensure proper accessibility for source generator scenarios.

Suggested change
internal sealed class EmbeddedResourcePropertiesAttribute : Attribute
public sealed class EmbeddedResourcePropertiesAttribute : Attribute

Copilot uses AI. Check for mistakes.
Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>
@datacute datacute merged commit 3728ecf into main Aug 3, 2025
1 check passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants